package com.loong.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class  IndexController {
    @RequestMapping("/goods")
    public String goods(){ return "查看商品列表"; }

    @RequestMapping("/purchaser/buy")
    public String buy() { return "加入购物车并支付"; }

    @RequestMapping("/admin/goods/check")
    public String goodsCheck() { return "审核发布商品"; }

    @RequestMapping("/admin/shop/check")
    public String check() { return "审核店铺信息"; }

    @RequestMapping("/shopkeeper/publish")
    public String publish() { return "店主发布商品信息"; }
}